import axios from "../../utils/axios";
export function getList(query) { //公司孵化申请列表
    return axios({
        url: "goldendays-promote/incubationApply/queryIncubationApplyHDpage",
        method: "get",
        params: query
    });
}

export function getEntity(query){//查询商城列表
    return axios({
        url:"goldendays-user/mbUserManager/queryMbUserList",
        method:"get",
        params:query
    })
}

export function getRules(query){//获取孵化期设置时间规则
    return axios({
        url:"goldendays-promote/incubationActivities/queryIncubationActivitiesInfo",
        method:"get",
        params:query
    })
}

export function addRules(data){//新增存储
    return axios({
        url:"goldendays-promote/incubationApply/addIncubationApply",
        method:"post",
        data:data
    })
}

//incubationActivities/setIncubationActivities设置孵化活动规则
export function setRules(data){//获取孵化期设置时间规则
    return axios({
        url:"goldendays-promote/incubationActivities/setIncubationActivities",
        method:"post",
        data:data
    })
}

export function postList(query){//获取可参与孵化活动商城隶属县级品牌公司列表
    return axios({
        url:"goldendays-promote/canParticipationHatchActivity/pageCanParticipationHatchActivity",
        method:"post",
        params:query
    })
}

export function pageCountyCompanys(query){//获取县级品牌公司列表
    return axios({
        url:"goldendays-promote/canParticipationHatchActivity/pageCountyCompanys",
        method:"post",
        params:query
    })
}

export function addCountyCompany(data){//添加县级品牌公司
    return axios({
        url:"goldendays-promote/canParticipationHatchActivity/addCountyCompany",
        method:"post",
        data:data
    })
}

//canParticipationHatchActivity/delCountyCompany删除可参与孵化活动公司
export function delCountyCompany(query){//添加县级品牌公司
    return axios({
        url:"goldendays-promote/canParticipationHatchActivity/delCountyCompany",
        method:"post",
        params:query
    })
}








